package cn.signalpha.modules.social.vo;

import cn.signalpha.modules.social.entity.Comment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 视图实体类
 *
 * @author signalpha
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CommentVO对象", description = "活动消息")
public class CommentVO extends Comment {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "评论目标用户名称")
	private String toUserName;

	@ApiModelProperty(value = "评论用户名称")
	private String fromUserName;

	@ApiModelProperty(value = "评论用户头像")
	private String fromUserAvatar;

	@ApiModelProperty(value = "评论用户点赞量")
	private String fromUserLikeNum;

	@ApiModelProperty(value = "点赞id")
	private Long likeId;

	@ApiModelProperty(value = "回复数量")
	private Integer replyNum;

	@ApiModelProperty(value = "回复列表")
	private IPage<CommentVO> replyList;

}
